package com.meritdata.cloud.data.javabean; /***********************************************************************
 * Module:  TD_DATA_QUALITY_RULE.java
 * Author:  Lenovo
 * Purpose: Defines the Class TD_DATA_QUALITY_RULE
 ***********************************************************************/

import java.util.*;

/** 质量规则表 */
public class TdDataQualityRule {
	/** ID:ID */
	private Long id;
	/** 规则名称:NAME */
	private String name;
	/** 规则描述:DESC */
	private String desc;
	/**
	 * 维度，度量，日期
	 * 
	 * 适用列类型:APPLY_COLUMN_TYPE
	 */
	private String applyColumnType;
	/**
	 * 0:禁用,1:启用
	 * 
	 * 启用状态:ENABLE
	 */
	private int enable;
	/**
	 * 0:未发布,1:已发布
	 * 
	 * 发布状态:PUBLISH_STATE
	 */
	private int publishState;
	/**
	 * sql, local
	 * 
	 * 规则类型:TYPE
	 */
	private String type;
	/**
	 * 正则表达式，值域
	 * 
	 * 规则条件类型:CONDITION_TYPE
	 */
	private int conditionType;
	/** 规则条件表达式:CONDITION_EXP */
	private String conditionExp;
	/** 创建时间:CREATE_TIME */
	private Date createTime;
	/** 修改时间:UPDATE_TIME */
	private Date updateTime;
	/** 创建人ID:CREATOR */
	private Long creator;
	/** 修改人ID:UPDATE_ID */
	private Long updateId;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String getApplyColumnType() {
		return applyColumnType;
	}
	public void setApplyColumnType(String applyColumnType) {
		this.applyColumnType = applyColumnType;
	}
	public int getEnable() {
		return enable;
	}
	public void setEnable(int enable) {
		this.enable = enable;
	}
	public int getPublishState() {
		return publishState;
	}
	public void setPublishState(int publishState) {
		this.publishState = publishState;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public int getConditionType() {
		return conditionType;
	}
	public void setConditionType(int conditionType) {
		this.conditionType = conditionType;
	}
	public String getConditionExp() {
		return conditionExp;
	}
	public void setConditionExp(String conditionExp) {
		this.conditionExp = conditionExp;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Long getCreator() {
		return creator;
	}
	public void setCreator(Long creator) {
		this.creator = creator;
	}
	public Long getUpdateId() {
		return updateId;
	}
	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}

}